Yes like say I wanted to convert the file cool-song.flv and it's in ~/Videos, and you wanted the new mp3 file to end up in ~/Music.
~/ stands for the current users home directory btw, (so for me ~/ is the same as /home/jeremy/)
Code:
ffmpeg -i Videos/cool-song.flv Music/cool-song.mp3